package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.summervolunteer.SummerVolunteerGetDto;
import com.teacher.pojo.entity.SummerVolunteer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.summbervolunteer.SummerVolunteerGetVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 暑期志愿者 Mapper 接口
 * </p>
 *
 * @author zfm
 * @since 2021-08-04
 */
public interface SummerVolunteerMapper extends BaseMapper<SummerVolunteer> {

    /**
     * 查询暑期志愿者
     *
     * @param page
     * @param dto
     * @return
     */
    IPage<SummerVolunteerGetVo> getPage(@Param("page") Page<SummerVolunteerGetVo> page, @Param("dto") SummerVolunteerGetDto dto);
}
